package com.xiaoyao.login.config;

import com.xiaoyao.login.listener.SpringApplicationListener;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Classname CoreAutoConfiguration
 * @Description TODO
 * @Date 2022/4/20 17:25
 * @Created by Lenovo
 */
@Configuration
public class CoreAutoConfiguration {
    @Bean
    public SpringApplicationListener contextRefreshEventPublisher() {
        return new SpringApplicationListener();
    }
}
